package com.yyaccp.hncc.sms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排版规则详情对象 sms_skd_rule_item
 * 
 * @author ruoyi
 * @date 2020-08-23
 */
public class SmsSkdRuleItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 医生id */
    @Excel(name = "医生id")
    private Long staffId;

    /** 一周中的排班时间 */
    @Excel(name = "一周中的排班时间")
    private String daysOfWeek;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 挂号限额 */
    @Excel(name = "挂号限额")
    private Long skLimit;

    /** 排班规则id(FK) */
    @Excel(name = "排班规则id(FK)")
    private Long skRuleId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setDaysOfWeek(String daysOfWeek) 
    {
        this.daysOfWeek = daysOfWeek;
    }

    public String getDaysOfWeek() 
    {
        return daysOfWeek;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSkLimit(Long skLimit) 
    {
        this.skLimit = skLimit;
    }

    public Long getSkLimit() 
    {
        return skLimit;
    }
    public void setSkRuleId(Long skRuleId) 
    {
        this.skRuleId = skRuleId;
    }

    public Long getSkRuleId() 
    {
        return skRuleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("staffId", getStaffId())
            .append("daysOfWeek", getDaysOfWeek())
            .append("status", getStatus())
            .append("skLimit", getSkLimit())
            .append("skRuleId", getSkRuleId())
            .toString();
    }
}
